RDMA/hns: Add constraint on the setting of local ACK timeout
authorLijun Ou <oulijun@huawei.com>
Wed, 12 Dec 2018 09:49:08 +0000 (17:49 +0800)
committerSalvatore Bonaccorso <carnil@debian.org>
Thu, 18 Jul 2019 22:23:17 +0000 (23:23 +0100)
commita33e0772f45b0ae820e54b4d162df6c9814c1854
tree32d5b621f75b424d7ac54f3dfa5323059361a829
parent72fcec06a808030724f7b93b9c3655c16d5f28cd
RDMA/hns: Add constraint on the setting of local ACK timeout

According to IB protocol, local ACK timeout shall be a 5 bit
value. Currently, hip08 could not support the possible max value 31. Fail
the request in this case.

Signed-off-by: Yixian Liu <liuyixian@huawei.com>
Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Gbp-Pq: Topic bugfix/arm64/huawei-taishan
Gbp-Pq: Name 0029-RDMA-hns-Add-constraint-on-the-setting-of-local-ACK-.patch
drivers/infiniband/hw/hns/hns_roce_hw_v2.c